<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="https://cdn.bootcss.com/vue/2.4.2/vue.js"></script>
</head>
<body>
	<div id="app">
		<div>{{message}}</div>
		<p>{{reverMessage}}</p>
	</div>
	<script type="text/javascript">
		var vm = new Vue({
			el: '#app',
			data:{
				message: 'hello'
			},
			computed: {
				reverMessage: function() {
					return this.message.split('').reverse().join('')
				}
			}
		})
	</script>
</body>
</html>